class UserMailer < ActionMailer::Base
  default from: "phuctri@example.com"
  def welcome_email(user,password,email)
    @user = user
    @pass = password
    @url  = "http://bachkhoalib.com"
    mail(:to => email, :subject => "Welcome to Bach Khoa Library")
  end
end
